#include<iostream>
#include<stdio.h>
#include<stdlib.h>
#include<algorithm>
#include<cmath>
#include<string.h>
using namespace std; 

int main()
{   
  int n,k;
  while(cin>>n>>k){
    int i,money=n;
    double sum=200;
    for(i=2;i<=21;i++){
      money+=n;
      sum=sum*(1.0+k/100.0);
      if(money>=sum)  break;
    }
    if(i<=20)  cout<<i<<endl;
    else cout<<"Impossible"<<endl;
  }
  //system("pause");  
  return 0;
}
